import request from '@/utils/request'
const serviceName = 'Task'
//  列表
export function queryServiceTypes(data) {
  return request({
    url: serviceName + '/ServiceType/QueryCustomerServiceTypes',
    method: 'post',
    data
  })
}
//  详情
export function getServiceType(data) {
  return request({
    url: serviceName + '/ServiceType/GetCustomerServiceType',
    method: 'post',
    data
  })
}
//  新增 修改
export function saveServiceType(data) {
  return request({
    url: serviceName + '/ServiceType/SaveCustomerServiceType',
    method: 'post',
    data
  })
}
//  删除
export function deleteServiceTypes(data) {
  return request({
    url: serviceName + '/ServiceType/DeleteCustomerServiceTypes',
    method: 'post',
    data
  })
}

export default {
  queryServiceTypes,
  getServiceType,
  saveServiceType,
  deleteServiceTypes
}
